package com.risen.test.service.impl;

import com.risen.test.mapper.RlEsInfoMapper;
import com.risen.test.pojo.RlEsInfo;
import com.risen.test.service.RlEsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther lmj
 * @date 2019/7/30
 */

@Service
public class RlEsInfoServiceImpl implements RlEsInfoService {

    @Autowired
    private RlEsInfoMapper rlEsInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer es_Unid) {
        int i = rlEsInfoMapper.deleteByPrimaryKey(es_Unid);
        return i;
    }

    @Override
    public int insert(RlEsInfo record) {
        return 0;
    }

    @Override
    public RlEsInfo selectByPrimaryKey(Integer es_Unid) {
        RlEsInfo rlEsInfo = rlEsInfoMapper.selectByPrimaryKey(es_Unid);
        return rlEsInfo;
    }

    @Override
    public List<RlEsInfo> selectAll() {
        return null;
    }

    @Override
    public int updateByPrimaryKey(RlEsInfo record) {
        return 0;
    }
}
